package com.ruoyi.vpn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * carmi对象 vpn_carmi
 * 
 * @author Edwin
 * @date 2024-01-08
 */
public class VpnCarmi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long carmiId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 套餐id */
    @Excel(name = "套餐id")
    private Long planId;

    /** 使用人id */
    @Excel(name = "使用人id")
    private Long userId;

    //套餐
    @Excel(name = "套餐内容")
    private  VpnPlan vpnPlan;

    //用户
    @Excel(name = "套餐使用人")
    private VpnUser vpnUser;

    public void setCarmiId(Long carmiId) 
    {
        this.carmiId = carmiId;
    }

    @Override
    public String toString() {
        return "VpnCarmi{" +
                "carmiId=" + carmiId +
                ", content='" + content + '\'' +
                ", status=" + status +
                ", planId=" + planId +
                ", userId=" + userId +
                ", vpnPlan=" + vpnPlan +
                ", vpnUser=" + vpnUser +
                '}';
    }

    public VpnPlan getVpnPlan() {
        return vpnPlan;
    }

    public void setVpnPlan(VpnPlan vpnPlan) {
        this.vpnPlan = vpnPlan;
    }

    public VpnUser getVpnUser() {
        return vpnUser;
    }

    public void setVpnUser(VpnUser vpnUser) {
        this.vpnUser = vpnUser;
    }

    public Long getCarmiId()
    {
        return carmiId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

}
